package com.dongjiantong.farmrecords.enums;

/**
 * 养殖档案枚举工具类
 */
public enum FarmRecordsNumberStatus {
    /**
     * 记录的状态 暂存,提交
     */
    TEMPORARY(0,"暂存"),
    SUBMIT(1,"提交"),

    /**
     * 单据是否有效
     */
    EFFECTIVE(1,"有效"),
    INVALID(-1,"无效,删除");

    public final Integer code;
    public final String description;

    FarmRecordsNumberStatus(Integer code, String description) {
        this.code = code;
        this.description = description;
    }

    public Integer getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
